<?php
namespace Model;
use Think\Model;
    class Link_classModel extends Model {
        
        protected $_validate = array(
            array('link_class_name','require','名称不能为空'),
            array('link_class_sort','require','排序不能为空'),
            array('link_class_sort','number','排序大小为数字'),
            
            array('link_class_name','1,20','名称长度在1~20',0,'length'),
            array('link_class_sort','1,255','排序大小在1~255',0,'between'),
            
        );
}